import { HTTP } from '../utils/http.js'
let http = new HTTP()

export default {
	getData(){
		return http.request({
			url: '/API/Article/GetArticleCategoryList',
			method: 'GET',
			data
		})
	},
	postData(data) {
	    return http.request({
			url: '/API/Article/GetArticleCategoryList',
			method: 'POST',
			data
		})
	},
	postTokenData(data) {
	    return http.request({
	    	url: '/API/Users/GetWxUserInfo',
	    	method: 'POST',
	    	data
	    })
	},
	postUserData(data){
		return http.request({
			url: '/API/Article/GetArticleCategoryList',
			method: 'POST',
			data
		})
	},
	postUserNew(data){
		return http.request({
			url: '/API/Users/GetUserMessageList',
			method: 'POST',
			data
		})
	},
	postNewDetail(data){
		return http.request({
			url: '/API/Users/GetUserMessageList',
			method: 'POST',
			data
		})
	},
	postNewSet(data){
		return http.request({
			url: '/API/Users/SetAllMessageIsRead',
			method: 'POST',
			data
		})
	},
}